package com.mall.service;

import com.mall.common.pojo.Node;
import com.mall.pojo.Menu;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface MenuService {

    List<Map<String,Object>> findObjects();

    // 基于菜单id删除菜单记录
    int deleteObject(Integer id);

    List<Node> findZtreeMenuNodes();

    int saveObject(Menu entity);

    int updateObject(Menu entity);

}
